package com.qingmu.club.minaapi.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 俱乐部门店主表
 * </p>
 *
 * @author duke
 * @since 2019-12-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ClubShop extends Model<ClubShop> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 所属俱乐部ID
     */
    private String clubId;

    /**
     * 门店名称
     */
    private String shopName;

    /**
     * 所在省
     */
    private String province;

    /**
     * 所在市
     */
    private String city;

    /**
     * 所在区
     */
    private String area;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 联系电话
     */
    private String shopPhone;

    /**
     * 主管名称
     */
    private String adminName;

    /**
     * 主管电话
     */
    private String adminPhone;

    /**
     * 门店宣传视频
     */
    private String shopVideo;

    /**
     * 门店介绍
     */
    private String shopIntroduce;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 经度
     */
    private Double longitude;

    /**
     * 纬度
     */
    private Double latitude;

    /**
     * 状态1-上架0-下架
     */
    private Integer status;

    /**
     * 宣传图1
     */
    private String cover1;

    /**
     * 宣传图2
     */
    private String cover2;

    /**
     * 宣传图3
     */
    private String cover3;

    /**
     * 宣传图4
     */
    private String cover4;

    /**
     * 宣传图5
     */
    private String cover5;

    /**
     * 宣传图6
     */
    private String cover6;

    /**
     * 店铺面积
     */
    private String shopArea;

    /**
     * 工作日开始时间
     */
    private String shopBeginHours;

    /**
     * 工作日结束时间
     */
    private String shopEndHours;

    /**
     * 组合地址(省市区)
     */
    private String jointAddress;

    /**
     * 时间类型 0-工作日 1-周六日 2-休息日 
     */
    private Integer hoursType;

    /**
     * 周末开始时间
     */
    private String shopWeekBeginHours;

    /**
     * 周末结束时间
     */
    private String shopWeekEndHours;

    /**
     * 休息日
     */
    private String shopRestDay;


    public static final String ID = "id";

    public static final String CLUB_ID = "club_id";

    public static final String SHOP_NAME = "shop_name";

    public static final String PROVINCE = "province";

    public static final String CITY = "city";

    public static final String AREA = "area";

    public static final String ADDRESS = "address";

    public static final String SHOP_PHONE = "shop_phone";

    public static final String ADMIN_NAME = "admin_name";

    public static final String ADMIN_PHONE = "admin_phone";

    public static final String SHOP_VIDEO = "shop_video";

    public static final String SHOP_INTRODUCE = "shop_introduce";

    public static final String CREATE_TIME = "create_time";

    public static final String LONGITUDE = "longitude";

    public static final String LATITUDE = "latitude";

    public static final String STATUS = "status";

    public static final String COVER1 = "cover1";

    public static final String COVER2 = "cover2";

    public static final String COVER3 = "cover3";

    public static final String COVER4 = "cover4";

    public static final String COVER5 = "cover5";

    public static final String COVER6 = "cover6";

    public static final String SHOP_AREA = "shop_area";

    public static final String SHOP_BEGIN_HOURS = "shop_begin_hours";

    public static final String SHOP_END_HOURS = "shop_end_hours";

    public static final String JOINT_ADDRESS = "joint_address";

    public static final String HOURS_TYPE = "hours_type";

    public static final String SHOP_WEEK_BEGIN_HOURS = "shop_week_begin_hours";

    public static final String SHOP_WEEK_END_HOURS = "shop_week_end_hours";

    public static final String SHOP_REST_DAY = "shop_rest_day";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
